name_list = ['name1', "name2"]
# <class 'list'>
print(type(name_list), name_list)
print(name_list[0])
print(name_list[-2])

print('name1' in name_list)

void_list = []
print(type(void_list), void_list)

void_list = list()
print(type(void_list), void_list)

# 嵌套列表【类似java中的二维数组】
name_list = [['name1', "name2"], ['name3', "name4"]]
print(type(name_list), name_list)
print('name1' in name_list[0])

print(name_list[0][0])
print(name_list[-1][-2])

# 序列 都有这个操作
print(name_list * 2)
